Socket
Socket
Sign inDemoInstall

gatsby-telemetry

Package Overview
Dependencies
Maintainers
10
Versions
476
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-telemetry

Gatsby Telemetry


Version published
Weekly downloads
305K
decreased by-2.38%
Maintainers
10
Weekly downloads
 
Created

What is gatsby-telemetry?

The gatsby-telemetry package is used to collect anonymous usage analytics for Gatsby projects. It helps the Gatsby team understand how developers use Gatsby and improve the framework based on this data.

What are gatsby-telemetry's main functionalities?

Enable Telemetry

This feature allows you to enable telemetry tracking for specific CLI commands. The `trackCli` function is used to log the usage of a particular command.

const telemetry = require('gatsby-telemetry');
telemetry.trackCli('CLI_COMMAND_NAME');

Disable Telemetry

This feature allows you to disable telemetry tracking. The `disable` function stops the collection of usage data.

const telemetry = require('gatsby-telemetry');
telemetry.disable();

Track Event

This feature allows you to track custom events. The `track` function logs an event with a specified name and additional data.

const telemetry = require('gatsby-telemetry');
telemetry.track('EVENT_NAME', { key: 'value' });

Other packages similar to gatsby-telemetry

Keywords

FAQs

Package last updated on 23 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc